define(window.backboneCommon.getControllerDefine("Layout"), function (require,ModelAccount) {
    var modelAccount=new ModelAccount();
    return Backbone.Collection.extend({
        model:  modelAccount,
        Index:function () {
        },
        initAfterLayout:function () {
            modelAccount.getInfo();
        },
        checkLogin:function () {
            modelAccount.checkLogin();
        },
        submitLogout:function(){
            modelAccount.logout()
        },
        Login:function () {
            
        },
        savePwd:function (json) {
            modelAccount.updPwd(json);
        },
        getPagePower:function(page){
            modelAccount.getPagePower(page);
        }
    });
});